package com.bank.backend.boot.server.mapper;


import com.bank.backend.boot.base.model.dto.TradeQueryPageDTO;
import com.bank.backend.boot.base.model.entity.Trade;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author JiaoWei
* @description 针对表【trade(交易表)】的数据库操作Mapper
* @createDate 2025-03-30 15:28:02
* @Entity generator.domain.Trade
*/
@Mapper
public interface TradeMapper extends BaseMapper<Trade> {

    List<Trade> queryManualPage(@Param("offset") int offset, @Param("pageSize") int pageSize);

    List<Trade> queryTradePage(@Param("pageSize") int pageSize, @Param("offset") int offset, @Param("tradeQueryPageDTO") TradeQueryPageDTO tradeQueryPageDTO);
}




